package com.stu.spring04.entity;

import com.stu.spring04.annotation.UserAnnotation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * ClassName: User
 * Package: com.stu.spring04.entity
 * Description: @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String username;
    @UserAnnotation(status = false)
    private String password;
    @UserAnnotation()
    private String nickname;
    private String createBy;//创建人
    private Date createTime;//创建时间
}
